package com.sino.struts2;

import com.opensymphony.xwork2.ActionSupport;
import com.sino.business.IExpertManageService;
import com.sino.model.ExpertModel;

public class ExpertAction extends ActionSupport {
	private IExpertManageService expertManageServiceImp;//专家管理
	private ExpertModel expertModel;//专家model;
	
	public String changeExpertPassword(){
		this.getExpertManageServiceImp().updatePassword(expertModel);
		System.out.println("*&%&^   "+expertModel.getFBh());
		System.out.println("*^&%&^  "+expertModel.getMm());
		
		return this.SUCCESS;
	}

	public ExpertModel getExpertModel() {
		return expertModel;
	}

	public void setExpertModel(ExpertModel expertModel) {
		this.expertModel = expertModel;
	}

	public IExpertManageService getExpertManageServiceImp() {
		return expertManageServiceImp;
	}

	public void setExpertManageServiceImp(
			IExpertManageService expertManageServiceImp) {
		this.expertManageServiceImp = expertManageServiceImp;
	}

}
